<?php
//print_r(get_extension_funcs('mongodb'));
//print_r(get_declared_classes());
$con = new MongoDB\Driver\Manager('mongodb://127.0.0.1:27017');
$query = new MongoDB\Driver\Query([]);
 $cursor = $con->executeQuery('databaseName.collectionName',$query);
////$it = new IteratorIterator($cursor);
////$it->rewind();
////while ($doc=$it->current())
////{
////    print_r($doc);
////    $it->next();
////    echo '';
//}



